package com.dq.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @project: _parent
 * @ClassName: EduserviceApplication
 * @author: dq
 * @creat: 2022/7/14 20:08
 */
@SpringBootApplication
@ComponentScan("com.dq")
@EnableDiscoveryClient //服务发现
@EnableFeignClients //开启服务调用
public class EduserviceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduserviceApplication.class,args);
    }
}
